<%@ page language="java" contentType="text/html; charset=utf-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<%@ include file="/commons/commonList.jsp" %>
<html>
<head>
<script language="JavaScript"  src="${ctx}/scripts/common/prototype.js"></script>
<script type="text/javascript">
	function setIndex(ind,id){
		parent.index = ind;
		parent.perferItemId = id;
	}
	function init(flag){
		if("detail" == flag){
			return false;
		}
		return ShowContextMenu(event,'quick_rightmenu');
	}
	function showDetail(index,id){
		var url = "${ctx}/occupation_joinHandleAction.do?method=getRectificateDetail&id="+id+"&index="+index;
		top.windowOpen(url, 'dd', '详细', 360, 470, true, "dd");
	}
</script>
</head>
<body>
<ec:ceTable items="rectificateList"
	action="${ctx}/occupation_joinHandleAction.do?method=initRectificateListCache"
	var="rectificateItem"
	view="pmsNoPageView"
	styleClass="gridData2"
	rowsDisplayed="${totalRows }" >
	<ec:ceRow styleClass="grid" onclick="setIndex('${rectificateItem.index }','${rectificateItem.keyword }')" ondblclick="showDetail('${rectificateItem.index }','${rectificateItem.keyword }')"
	  onContextMenu="init('${status }');"  >
		<ec:ceColumn width="8%" styleClass="align_left" headerCell="pmsHeadrCell" title="序号" property="index"  />
		<ec:ceColumn width="16%" styleClass="align_left" headerCell="pmsHeadrCell" title="申报项目类型" property="perfectItemTypeConfigName"  />
		<ec:ceColumn width="25%" styleClass="align_left" headerCell="pmsHeadrCell" title="问题描述" property="description" />
		<ec:ceColumn width="13%" cell="date" format="yyyy-MM-dd" styleClass="align_left" headerCell="pmsHeadrCell" title="申报日期" property="perfectRequisitionDate" />
	</ec:ceRow>
</ec:ceTable>


<div id="quick_rightmenu" style="display:none;" oncontextmenu="return false" class="quick_menu2" onMouseOver="showmy2menu('quick_rightmenu')"  onMouseOut="hidden2menu('quick_rightmenu')" >
  <table width="100%" border="0" cellpadding="1" cellspacing="0" class="grid_quickMenu_bg" onMouseOver="showmy2menu('quick_rightmenu')" onMouseOut="hidden2menu('quick_rightmenu')">
    <tr>
      <td><table width="100%" border="0" cellpadding="2" cellspacing="0">
       <tr>
         <td class="quickMenu_toolbarico"><a href="#"  onfocus="this.blur()" onclick="parent.openRectificateAdd();return false;" ><img src="${ctx}/images/ico_newfile.gif" border="0" align="absbottom" alt="新增"/>&nbsp;新 建</a></td>
          </tr>
        <tr>
         <td class="quickMenu_toolbarico"><a href="#" onFocus="this.blur()" onClick="parent.openRectificateEdit();return false;"><img src="${ctx}/images/ico_amend.gif" alt="修改" width="16" height="16" border="0" align="absbottom" /> 修 改</a></td>
          </tr>
        <tr>
          <td class="quickMenu_toolbarico"><a href="#" onFocus="this.blur()" onClick="parent.showRectificate();return false;" ><img src="${ctx}/images/ico_delete.gif" alt="删除" width="16" height="16" border="0" align="absbottom" /> 删 除</a></td>
          </tr>
      </table></td>
    </tr>
  </table>
</div>
</body>
</html>